//
//  NSError+QTAdd.h
//  QTCategory
//
//  Created by 张俊博 on 2016/12/26.
//  Copyright © 2016年 CISDI. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSError (QTAdd)

+ (NSError*) errorWithDomain:(NSString*) domain
                        code:(NSInteger) code
                 description:(NSString*) fmt, ...;

+ (BOOL) fillError:(NSError**) error
        withDomain:(NSString*) domain
              code:(NSInteger) code
       description:(NSString*) fmt, ...;

+ (BOOL) clearError:(NSError**) error;

@end
